package com.ourteam.product.api;

import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.ourteam.frame.controller.AbstractServiceController;

import net.ui.UIConfigFactory;

@CrossOrigin
@Controller
@RequestMapping("/api/ui")
public class UIConfigAPI extends AbstractServiceController {

	@RequestMapping("/getConfigData")
	@ResponseBody
	public Map<String, Object> getConfigData() throws Exception{
		return UIConfigFactory.getConfigMap();
	}
	
}
